﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Engine
{

    public class Activities
    {
        /// <summary>
        /// 主键
        /// </summary>
        public Guid ActivityId { get; set; }

        /// <summary>
        /// 流程实例Id
        /// </summary>
        public int InstanceId { get; set; }

        /// <summary>
        /// 流程编号
        /// </summary>
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 步骤名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 表单id
        /// </summary>
        public string FormId { get; set; }

        /// <summary>
        /// 表单编码
        /// </summary>
        public string FormCode { get; set; }

        /// <summary>
        /// 表单版本
        /// </summary>
        public string FormVersion { get; set; }

        /// <summary>
        /// 流程实例活动类型
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 来源流程实例活动id
        /// </summary>
        public string SourceId { get; set; }

        /// <summary>
        /// 流程的祖先节点id
        /// </summary>
        public string GrandNodeId { get; set; }

        /// <summary>
        /// 下一个流程实例活动id
        /// </summary>
        public string NextActivityId { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 是否可见
        /// </summary>
        public bool Visible { get; set; }

        /// <summary>
        /// 到达时间
        /// </summary>
        public DateTime ArriveTime { get; set; }

        /// <summary>
        /// 完成时间
        /// </summary>
        public DateTime FinishTime { get; set; }

        /// <summary>
        /// 耗时（秒）
        /// </summary>
        public int ElapsedTime { get; set; }

        /// <summary>
        /// 创建顺序
        /// </summary>
        public int Order { get; set; }

        /// <summary>
        /// 表单是否可编辑
        /// </summary>
        public bool FormEditable { get; set; }

        /// <summary>
        /// 节点类型
        /// </summary>
        public string GrandNodeType { get; set; }
    }
}
